package com.javabase;

/**
 * @Description: java类作用描述
 * @Author: Bsea
 * @CreateDate: 2019/6/1$ 20:36$
 */
public class Test5 {
    public static void main(String[] args) {
        Counter counter = new Counter();
        Thread thread1 = new Thread(counter, "A");
        Thread thread2 = new Thread(counter, "B");
        Thread thread3 = new Thread(counter, "C");
        thread1.start();
        thread2.start();
        thread3.start();
    }
}
